package cn.wondertek.system.domain;

import cn.wondertek.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.wondertek.common.annotation.Excel;

/**
 * 【请填写功能名称】对象 cms_sys_user_role_menu
 *
 * @author ruoyi
 * @date 2020-06-01
 */
public class CmsSysUserRoleMenu extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 角色菜单id */
    private Long rmId;

    /** 角色id */
    @Excel(name = "角色id")
    private Long roleId;

    /** 菜单id */
    @Excel(name = "菜单id")
    private Long menuId;

    /** $column.columnComment */
    @Excel(name = "菜单id")
    private Long createId;

    /** $column.columnComment */
    @Excel(name = "菜单id")
    private Long updateId;

    public void setRmId(Long rmId)
    {
        this.rmId = rmId;
    }

    public Long getRmId()
    {
        return rmId;
    }
    public void setRoleId(Long roleId)
    {
        this.roleId = roleId;
    }

    public Long getRoleId()
    {
        return roleId;
    }
    public void setMenuId(Long menuId)
    {
        this.menuId = menuId;
    }

    public Long getMenuId()
    {
        return menuId;
    }
    public void setCreateId(Long createId)
    {
        this.createId = createId;
    }

    public Long getCreateId()
    {
        return createId;
    }
    public void setUpdateId(Long updateId)
    {
        this.updateId = updateId;
    }

    public Long getUpdateId()
    {
        return updateId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("rmId", getRmId())
            .append("roleId", getRoleId())
            .append("menuId", getMenuId())
            .append("createId", getCreateId())
            .append("createTime", getCreateTime())
            .append("updateId", getUpdateId())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
